<%
  @players.each do |p|
  board = Board.find(:first, :conditions=>["player_id=? AND year=?", p.id, @year])
  data = board.board_data
%>
<style type="text/css" media="all">
  .allboder td {border: 1px solid black;}
  div.page
  {
    page-break-after: always;
    page-break-inside: avoid;
  }
</style>
<div class="page">
  Year : <%=@year%>
<%=data%>
</div>
<%
  end
%>
